package org.jeecg.modules.zhima.portal.service;

import org.jeecg.modules.zhima.admin.entity.ZmPayOrder;

public interface IPayOrderService {

    Boolean updateById(ZmPayOrder zmPayOrder);

    ZmPayOrder getByGamePlayerId(String gamePlayerId);

    ZmPayOrder getByOrderSn(String orderSn);

    boolean removeAndRefund(String gamePlayerId);

    boolean payCallback(String orderSn);

    /**
     * 调用微信服务验证付款状态
     * @param gamePlayerId
     * @return
     */
    boolean checkPayStatusRemote(String gamePlayerId);
    /**
     * 本地查询付款状态
     * @param gamePlayerId
     * @return
     */
    boolean checkPayStatus(String gamePlayerId);

}
